<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>二级学院信息列表</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<link rel="shortcut icon" href="images/logo.jpg">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>

</head>

<body>

  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 二级学院列表</strong> </div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
              <li>
          <a href="page/department/department_add.jsp" class="button border-main icon-search" onclick="changesearch()" > 添加二级学院</a></li>
        <li>搜索：</li>
        <form action="page/department/action_searchdepartment.jsp" method="post">
          <input type="text" placeholder="请输入搜索关键字" name="depID" class="input input-big" style="width:250px; line-height:17px;display:inline-block" value="3"/>
          <input type = "submit" value="查询" style="font-size:15pt;">
          <button class="button bg-main icon-check-square-o" type="button" onclick="window.location.href='department_list.jsp'" value="返回 ">返回</button>
        </form>
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
       			<th>序号</th>
				<th>二级学院编号</th>
				<th>二级学院名称</th>
				<th>操作</th>
      </tr>
      
      	<% 
      			String rs_depID=(String)session.getAttribute("rs_depID");
      			String rs_depName=(String)session.getAttribute("rs_depName");
				int index=1;
		%>		
			

			<tr>
				 <td><%=index++ %></td>
				<td><%=rs_depID %></td>
				<td><%=rs_depName %></td>
				<td>
				<div class="button-group">
				 <a class="button border-main" href="<%=path%>/page/department/department_edit.jsp?rs_depID=<%=rs_depID%>"><span class="icon-edit"></span> 修改</a> <a class="button border-red" href="<%=path%>/page/department/action_deldepartment.jsp?rs_depID=<%=rs_depID%>" ><span class="icon-trash-o"></span> 删除</a>  </div>
				</td>
			</tr>
		
    </table>
  </div>
</body>
</html>
